<%@ page language="java" contentType="text/html; charset=UTF-8" import="koction.model.seller.*"
    pageEncoding="UTF-8"%>
    <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<link rel="stylesheet" href="http://code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css">
  <script src="http://code.jquery.com/jquery-1.9.1.js"></script>
  <script src="http://code.jquery.com/ui/1.10.3/jquery-ui.js"></script>
  <link href='http://fonts.googleapis.com/css?family=Quicksand' rel='stylesheet' type='text/css'>
  <script>
  $(function() {
   	$("#leftmenu").menu();
    $("#headSearchBtn").click(function(){
		location.href="searchProductListByName.do?name="+$("#headInfo").val();
	});
  });
  </script>
  <style>
  	#leftmenu { 
  		width: 200px;
  		border: 0;
 	}
  </style>
 
<c:if test="${sessionScope.cvo!=null&&sessionScope.svo==null}">
<img src="img/${sessionScope.cvo.grade }.jpg">
${sessionScope.cvo.grade } ${sessionScope.cvo.name }님 안녕하세요! <br><br>
</c:if>
<c:if test="${sessionScope.svo!=null&&sessionScope.cvo!=null}">
<img src="img/seller.jpg" width="100" height="40" ><br>
<img src="img/${sessionScope.cvo.grade }.jpg">
${sessionScope.cvo.grade } ${sessionScope.cvo.name }님 안녕하세요! <br><br>
</c:if>
<c:if test="${sessionScope.avo!=null&&sessionScope.svo==null&&sessionScope.cvo==null}">
관리자님 안녕하세요!
</c:if>

				

<form class="text">
	<input type="text" id="headInfo">
</form>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<input type="button" id="headSearchBtn" value="검색" class="button" >

<br><br>

<div id="cssmenu">
<ul>
	<li class='has-sub'><a href="#"><span>패션의류</span></a>
		<ul>
			<li><a href="getProductListByCategory.do?category=여성의류"><span>여성의류</span></a></li>
			<li><a href="getProductListByCategory.do?category=남성의류"><span>남성의류</span></a></li>
			<li><a href="getProductListByCategory.do?category=언더웨어/잠옷"><span>언더웨어/잠옷</span></a></li>
		</ul>
	</li>
	<li class='has-sub'><a href="#">패션잡화</a>
		<ul>
			<li><a href="getProductListByCategory.do?category=신발/구두/운동화">신발/구두/운동화</a></li>
			<li><a href="getProductListByCategory.do?category=가방/지갑">가방/지갑</a></li>
			<li><a href="getProductListByCategory.do?category=쥬얼리/시계">쥬얼리/시계</a></li>
		</ul>
	</li>
	<li class='has-sub'><a href="#">뷰티/헤어</a>
		<ul>
			<li><a href="getProductListByCategory.do?category=화장품">화장품</a></li>
			<li><a href="getProductListByCategory.do?category=향수">향수</a></li>
			<li><a href="getProductListByCategory.do?category=바디/헤어">바디/헤어</a></li>
		</ul>
	</li>
	<li class='has-sub'><a href="#">식품</a>
		<ul>
			<li><a href="getProductListByCategory.do?category=쌀/과일">쌀/과일</a></li>
			<li><a href="getProductListByCategory.do?category=정육/수산물">정육/수산물</a></li>
			<li><a href="getProductListByCategory.do?category=라면/통조림">라면/통조림</a></li>
			<li><a href="getProductListByCategory.do?category=과자">과자</a></li>
			<li><a href="getProductListByCategory.do?category=생수/차/음료">생수/차/음료</a></li>
		</ul>
	</li>
	<li class='has-sub'><a href="#">가구/침구/인테리어</a>
		<ul>
			<li><a href="getProductListByCategory.do?category=가구/DIY">가구/DIY</a></li>
			<li><a href="getProductListByCategory.do?category=침구/커튼">침구/커튼</a></li>
			<li><a href="getProductListByCategory.do?category=조명/벽지/인테리어">조명/벽지/인테리어</a></li>
		</ul>
	</li>
	<li class='has-sub'><a href="#">생활/주방</a>
		<ul>
			<li><a href="getProductListByCategory.do?category=TV/냉장고/세탁기">TV/냉장고/세탁기</a></li>
			<li><a href="getProductListByCategory.do?category=밥솥/오븐/청소기">밥솥/오븐/청소기</a></li>
			<li><a href="getProductListByCategory.do?category=히터/가습기">히터/가습기</a></li>
		</ul>
	</li>
	<li class='has-sub'><a href="#">디지털</a>
		<ul>
			<li><a href="getProductListByCategory.do?category=휴대폰/악세서리">휴대폰/악세서리</a></li>
			<li><a href="getProductListByCategory.do?category=디카/DSLR">디카/DSLR</a></li>
			<li><a href="getProductListByCategory.do?category=MP3/이어폰">MP3/이어폰</a></li>
		</ul>
	</li>
	<li class='has-sub'><a href="#">컴퓨터</a>
		<ul>
			<li><a href="getProductListByCategory.do?category=노트북/데스크탑">노트북/데스크탑</a></li>
			<li><a href="getProductListByCategory.do?category=저장장치/메모리">저장장치/메모리</a></li>
			<li><a href="getProductListByCategory.do?category=프린터/잉크">프린터/잉크</a></li>
		</ul>
	</li>
		<li class='has-sub'><a href="#">도서/티켓/상품권</a>
		<ul>
			<li><a href="getProductListByCategory.do?category=도서/음반/DVD">도서/음반/DVD</a></li>
			<li><a href="getProductListByCategory.do?category=영화티켓/공연">영화티켓/공연</a></li>
			<li><a href="getProductListByCategory.do?category=백화점/기타상품권">백화점/기타상품권</a></li>
		</ul>
	</li>
</ul>
</div>